<script src="<?=gurl('js');?>/plugin.js"></script>
<div class="w660">
		<div class="smallCon">
			<h1><span class="left">广播</span></h1>
			<? if($isowner):?>
			<form name="miniblogform" id="miniblogform" action="" method="post" onsubmit="return check_miniblogform_form(this);">
			<textarea  cols="" rows="" style="width: 500px; height: 100px; border: 1px solid #CCCCCC; overflow:auto" name="description" id="description" onclick="postblog();">发布新广播，原有的广播将被取代</textarea>
			<div class="blank8"></div>
			<p class="t_r" style="padding: 0 145px 0 0;"><input type="submit" name="dosubmit" id="dosubmit" value="广播" class="airIco"></p>
			</form>
			<? endif;?>
			<? if($row && count($row)>0):?>
			<div class="blank8"></div>
			<div class="head"><img class="blank" src="images/tran.gif"><a href="/home/profile/<?=$row['userinfo']['id'];?>"><img src="<?=gurl('data');?>/upload_pic/<?=$row['userinfo']['photo'];?>" onerror="this.src='<?=gurl('images');?>/userhead.gif';" alt="<?=$row['userinfo']['username'];?>" width="60" height="60" /></a></div>
			<div class="discusCon">
						<span style="color:#444444;"><?=$row['userinfo']['username'];?></span>：<?=strip_tags($row['description']);?>
			</div>
			<p class="airTime"><em class="cDGray">(<?=$row['commentcount'];?>人回应)</em> <?=date("Y-m-d H:i",$row['addtime']);?></p>
			<? endif;?>
			<div class="blank8"></div>
			
			<!--广播评论调用代码-->
			<script language="javascript" src="<?=gurl('/');?>comment/miniblog/<?=$site['id'];?>/<?=$row['id'];?>/<?=$offset;?>"></script> 
		</div>
		
	</div>
	
	<script language="javascript" src="<?=c('site_url');?><?=$site['domain'];?>/right"></script>
	<div class="hackbox"></div>
</div>
<script language="javascript">
if($("#description").val() == '发布新广播，原有的广播将被取代') {
	$("#description").addClass("time");
}

function postblog()
{
	if($("#description").val() == '发布新广播，原有的广播将被取代') {
		$("#description").val("");
		$("#description").removeClass("time");
	}
}
</script>